package cn.wggf.dev.qcgg.dao.impl;

import java.util.List;
import java.util.Map;

import org.apache.log4j.Logger;

import cn.wggf.dev.qcgg.dao.CheckStationDao;
import cn.wggf.dev.qcgg.util.SqlService;


/**
 * 车检站dao接口实现类
 * @author Yubo Jia
 *
 * 2018年1月26日上午9:07:41
 */
public class CheckStationDaoImpl implements CheckStationDao {
	
	private Logger logger = Logger.getLogger(CheckStationDaoImpl.class);

	/**
	 * 查询所有车检站GUID
	 */
	public List<Map<String, Object>> queryCsn() {
		SqlService sqlService = new SqlService();
		String sql = "select cSN from qcgg_check_station";
		Object[] params = null;
		logger.info("执行的sql语句是："+sql);
		List<Map<String, Object>> csnList = sqlService.execQuery(sql, params);
		logger.info("查询结果共："+csnList.size());
		return csnList;
	}

}
